package com.chushouya.manager.dto.admin.user.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("极光一键登录")
@Data
public class JPushLoginDTO {

    @ApiModelProperty(value = "认证 SDK 获取到的 loginToken", required = true)
    @NotBlank(message = "loginToken不能为空")
    private String loginToken;

    @ApiModelProperty(value = "用户登录平台", required = true)
    @NotBlank(message = "平台不能为空")
    private String platform;
    @ApiModelProperty(value = "appId", required = true)
    private String appId;


}
